﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Sunscreen.Components
{
    class Entity
    {
        Texture2D texture;
        Rectangle boundingRectangle;
        Color color;
        float X;
        float Y;
        Vector2 velocity;

        public Entity(Texture2D texture, Rectangle boundingRectangle, Color color, float X, float Y, Vector2 velocity)
        {
            this.texture = texture;
            this.boundingRectangle = boundingRectangle;
            this.color = color;
            this.X = X;
            this.Y = Y;
            this.velocity = velocity;
        }

        public void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(texture, boundingRectangle, color);
        }

    }
}
